package nc.ui.fjpec.crm.crm_98h1h7.btn;

import nc.pub.rino.IBillButton;
import nc.vo.trade.button.ButtonVO;

public class ChildButtonVO {
	public ButtonVO getButtonVO() {
		ButtonVO btnVO = new ButtonVO();
		btnVO.setBtnNo(IBillButton.ADD_NO);
		btnVO.setBtnChinaName(IBillButton.ADD_NAME);
		btnVO.setBtnName(IBillButton.ADD_NAME);
		btnVO.setChildAry(IBillButton.NEW_ENTRY_AND_BS_BTN);
		return btnVO;
	}
	public ButtonVO[] getChildBtn(){
		ButtonVO[] childBtn = new ButtonVO[IBillButton.NEW_ENTRY_AND_BS_BTN.length];
		for(int i=0;i<IBillButton.NEW_ENTRY_AND_BS_BTN_NAME.length;i++){
			childBtn[i] = new ButtonVO();
			childBtn[i].setBtnNo(IBillButton.NEW_ENTRY_AND_BS_BTN[i]);
			childBtn[i].setBtnChinaName(IBillButton.NEW_ENTRY_AND_BS_BTN_NAME[i]);
			childBtn[i].setBtnName(IBillButton.NEW_ENTRY_AND_BS_BTN_NAME[i]);
			childBtn[i].setHintStr(IBillButton.NEW_ENTRY_AND_BS_BTN_NAME[i]);
			childBtn[i].setOperateStatus(new int[]{0,1,2,3,4});
		    childBtn[i].setBusinessStatus(null);
		    
		}
		return childBtn;
		
	}
}
